package com.tongxin.van.frameworkcanary.http;


import java.util.Map;

import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 *
 * author: VanyLiu
 * email: 13212674795@163.com
 * description:网络请求接口回调
 *
**/

public interface APIService {

    /**
     * 登录
     */
    @POST("api/lyauth/login")
    Observable<ResponseBody> onLogin(@Body Map map);
}
